package entity;

import java.util.Date;

public class Vehicle {
	private int id;
	private String vin; // 交通登记号码
	private Date year;
	private String color;
	private String vendor;
	private int vehicleType;

	
	
	@Override
	public String toString() {
		return "Vehicle [id=" + id + ", vin=" + vin + ", year=" + year
				+ ", color=" + color + ", vendor=" + vendor + ", vehicleType="
				+ vehicleType + "]";
	}

	public Vehicle() {
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getVin() {
		return vin;
	}

	public void setVin(String vin) {
		this.vin = vin;
	}

	public Date getYear() {
		return year;
	}

	public void setYear(Date year) {
		this.year = year;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getVendor() {
		return vendor;
	}

	public void setVendor(String vendor) {
		this.vendor = vendor;
	}

	public int getVehicleType() {
		return vehicleType;
	}

	public void setVehicleType(int vehicleType) {
		this.vehicleType = vehicleType;
	}
}
